package com.khshop.service;

import com.khshop.pojo.Admin;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 管理员 服务类
 * </p>
 *
 * @author zhaoyang
 * @since 2020-10-08
 */
public interface AdminService extends IService<Admin> {
    //查
    public Admin getAdmin(String name);
    //增
    public boolean addAdmin(Admin admin);
    //改
    public boolean updateAdmin(Admin admin);
    //删
    public boolean delAdmin(Long id);

}
